#include <dolphin/socket.h>
int SOInetAtoN ( const char* cp, SOInAddr* inp );
SOInetAtoN() converts an Internet host address in the dotted
decimal notation into binary address.
cp |
dotted-decimal notation of an IPv4 address. |
inp |
binary IPv4 address in network byte order. |
1 if cp is
a valid IPv4 address notation (even if inp
is NULL). 0 if cp
is not a valid IPv4 address notation.